function pbOkVideoInputDlg_Callback(h, e)
%PBOKVIDEOINPUTDLG_CALLBACK Summary of this function goes here
%   Detailed explanation goes here

handles= guihandles(h);

DeviceID= uicontrol_SelectedIndex(handles.pmDevices);
Adaptor= uicontrol_SelectedItem(handles.pmAdaptors);
Format= uicontrol_SelectedItem(handles.lbFormats);

dhaqtool(Adaptor, DeviceID, Format);

close(gcf);

end

